<?php
class Sales_details_model extends CI_Model {
    
    private $_tabla = 'sales_details';
    
    public function addDetails($data)
    {
        $this->db->insert($this->_tabla, $data);
    }
            
}